<!doctype html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>

<div id="app">
    <template v-if="ok">
        <h1>Title</h1>
        <p>Text 1</p>
        <p>Text 2</p>
    </template>
    <template v-else="ok">
        <h2>No data ...</h2>
    </template>
</div>
</body>
<script src="../../vender/vue@2.4.2.js"></script>
<script>

    var app=new Vue({
        el:'#app',
        data:{
            ok:Math.random()<0.6
        }
    });

</script>
</html>